UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Ubuntu operating system must limit the number of concurrent sessions to ten for all accounts and/or account types.


Overview

Finding ID Version Rule ID IA Controls Severity
V-219301 UBTU-18-010400 SV-219301r610963_rule Low
Description
Ubuntu operating system management includes the ability to control the number of users and user sessions that utilize an operating system. Limiting the number of allowed users and sessions per user is helpful in reducing the risks related to DoS attacks. This requirement addresses concurrent sessions for information system accounts and does not address concurrent sessions by single users via multiple system accounts. The maximum number of concurrent sessions should be defined based on mission needs and the operational environment for each system.
STIG Date
Canonical Ubuntu 18.04 LTS Security Technical Implementation Guide 2021-03-10

Details

Check Text ( C-21026r305231_chk )
Verify that the Ubuntu operating system limits the number of concurrent sessions to ten for all accounts and/or account types by running the following command:

# grep maxlogins /etc/security/limits.conf | grep -v '^* hard maxlogins'

The result must contain the following line:

* hard maxlogins 10

If the "maxlogins" item is missing or the value is not set to 10 or less, it is commented out, this is a finding.
Fix Text (F-21025r305232_fix)
Configure the Ubuntu operating system to limit the number of concurrent sessions to ten for all accounts and/or account types.

Add the following line to the top of the /etc/security/limits.conf:

* hard maxlogins 10